package com.blackline.UI.ALERTS;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
/**
 * @author XBO
 * @version Jan, 2013
 * <p>This page is after clicking the ALERTS > Alert from Navigation Menu.
 * Please refer to UI.Alerts.png in doc-files.
 */
public class Alerts {
	/**
	 * Recipient search text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_filterRow_tbFilter1_UserFullName")
	public WebElement Recipient_textField;
	
	/**
	 * 	Role search text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_filterRow_tbFilter1_RoleName")
	public WebElement Role_textField;
	
	/**
	 * Sent search text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_filterRow_tbFilter1_AlertDateTime")
	public WebElement Sent_textField;
	
	/**
	 * Code search text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_filterRow_tbFilter1_AlertTypeID")
	public WebElement Code_textField;
	
	/**
	 * Name search text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_filterRow_tbFilter1_AlertName")
	public WebElement Name_textField;
	
	/**
	 * Accounts search text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_filterRow_tbFilter1_AccountCount")
	public WebElement Accounts_textField;
	
	
	/**
	 * Apply link
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_lbApplyFilters")
	public WebElement Apply_link;
	
	
	/**
	 * Clear link
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_hlClearFilters")
	public WebElement Clear_link;
	
	
	/**
	 * Advanced link
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_hlToggleFilters")
	public WebElement Advanced_link;

	/**
	 * Basic link
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_hlToggleFilters")
	public WebElement Basic_link;
	
	/**
	 * Alert Details icon (the magnifier icon) of the 1st searched result.
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_ctl02_ibEdit")
	public WebElement Alert_Details_iconOf1stSearchedResult;
	
	/**
	 * total number of result(s)
	 */
	@FindBy (xpath = "//div[@id = 'ctl00_ctl00_contentBody_cphMain_DBGrid_Panel2']/strong[3]")
	public WebElement totalNumberOfResults;
	
	
	
}
